import request from '@/utils/request'


// 获取门店列表
export function getShopList(data) {
  return request({
    url: '/wx/app/shop/list',
    headers: {
      isToken: false
    },
    method: 'post',
    data: data
  })
}

// 获取门店详情
export function getShopDetail(data) {
  return request({
    url: '/wx/app/shop/getShopById',
    headers: {  
      isToken: false
    },
    method: 'get',
    params: data
  })
}

//获取所有台桌类型
export function getTableType(data) {
  return request({
    url: '/wx/app/table/queryType',
    headers: {
      isToken: false
    },
    method: 'get',
  })
}

//根据类型获取台桌列表
export function getTableList(data) {
  return request({
    url: '/wx/app/table/list',
    headers: {
      isToken: false
    },
    method: 'get',
    params: data
  })
}

//获取助教列表
export function getTutorList(data) {
  return request({
    url: '/wx/app/tutor/list',
    headers: {
      isToken: false
    },
    method: 'get',
    params: data
  })
}
